int_number = int(input('请输入整数:'))
int_sum = 0
while int_number > 10:
    int_sum += int_number % 10
    int_number = int_number // 10
int_sum += int_number
print('位数和：' + str(int_sum))

number1 = 12
print(bin(number1))
print(oct(number1))
print(hex(number1))
